/**
 * 
 */
package com.sci.web.action.datareportseason.enterprise_labor_capacity;

import javax.annotation.Resource;

import com.sci.web.action.util.BaseAction;
import com.sci.web.dao.DataReportM_InnovateBaseDao;

/**
 * @author  BaiFuyou
 * @date: Nov 10, 2011 3:50:11 PM
 * 
 * 获取全部的生产率数据
 */
public class GetAllNewLabor_capacity_productivityAction extends BaseAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7738969294827702890L;
	@Resource
	private DataReportM_InnovateBaseDao dataReportM_InnovateBaseDao;
	private int uid;
	/**
	 * @return the uid
	 */
	public int getUid() {
		return uid;
	}
	/**
	 * @param uid the uid to set
	 */
	public void setUid(int uid) {
		this.uid = uid;
	}
	@Override
	public String execute() throws Exception {
		// TODO Auto-generated method stub
		super.setContentType(super.JSON);
		super.outPrint(super.getJSONArrayString(dataReportM_InnovateBaseDao.getAllEnterprise_Labor_CapacityByUid(uid)));
		return "json";
	}

}
